package cn.hss.object.inter;

/**
 * @author 作者：HeShaoShuai
 * @Email 邮箱：2569819541@qq.com
 * @Date 日期：2023/4/25 19:59
 * @Package 包名：cn.hss.object.inter
 * @Project 项目名：JavaSE
 * @Version 1.0
 */
public abstract class Vehicle {
	private String brand;//品牌
	private String color;//颜色
	public Vehicle(){}

	public Vehicle(String brand, String color) {
		this.brand = brand;
		this.color = color;
	}
	public abstract void run();
	public String getBrand() {
		return brand;
	}

	public void setBrand(final String brand) {
		this.brand = brand;
	}

	public String getColor() {
		return color;
	}

	public void setColor(final String color) {
		this.color = color;
	}
}
